try:
    list = []
    while True:
        num = input('Enter a number: \n')
        if num == 'done':
            break

        list.append(float(num))

    print('The total is', sum(list))
    print('The count is', len(list))
    print('The average is', round(sum(list) / len(list), 2))
except Exception as e:
    print('Please enter a num')
